﻿using System.Collections.Generic;

namespace Golf.DataLayer
{
    using Core;

    public interface IPlayerRepository
    {
        IEnumerable<Player> Find(string forename, string surname);
        Player Get(int id);
        IEnumerable<Player> GetAll();
        void Save(Player player);
        void Delete(int id);
    }
}
